package main.f_ProtorypeModel;

/**
 * Created by newtranx_011 on 2017/9/22.
 */
public class Prototype implements Cloneable {

    private String id;

    public Prototype(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public Prototype clone() throws CloneNotSupportedException {
        return (Prototype)super.clone();
    }

    public void Display() {
        System.out.println("Prototype{" +
                "id='" + id + '\'' +
                '}');
    }

}
